package com.itheima.health.service;

import com.itheima.health.entity.Result;
import com.itheima.health.pojo.OrderSetting;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface OrdersettingService {
    /**
     * 根据月份查询
     *
     * @param year
     * @param month
     */
    Result getOrderSettingByMonth(Integer year, Integer month);

    /**
     * 文件上传批量
     *
     * @param file
     * @return
     */
    Result upload(MultipartFile file) throws IOException;

    /**
     *06_预约管理可预约单独设置
     * @param orderSetting
     * @return
     */
    void editNumberByDate(OrderSetting orderSetting);
}
